---
title: getGlobalMessage
description: Returns a global error message.
source: /storages/globalMessage/globalMessage.ts
contributors:
  - fabian-hiller
---

import { Property } from '~/components';
import { properties } from './properties';

# getGlobalMessage

Returns a global error message.

```ts
const message = v.getGlobalMessage(lang);
```

## Parameters

- `lang` <Property {...properties.lang} />

## Returns

- `message` <Property {...properties.message} />
